

#import <NSMKit/NSMKit.h>

@interface LoginController : NSMViewController

/** 远程推送消息 */
@property (nonatomic, copy) NSDictionary *launchOptions;

@property (nonatomic) BOOL cancelButtonHidden;

@property (nonatomic, copy) void(^didLoginSuccess)(id data);

@end

@interface UIViewController (LoginController)
- (void)presentLoginController:(void(^)(LoginController *vc))hander
                      animated:(BOOL)animated
                    completion:(void (^)(void))completion;
@end
